package
{
	import flash.geom.Vector3D;

	public class Store extends GameObject
	{
		public static const SIZE:int = Constants.SQUARE_SIZE * 2;
		
		public function Store(model:GameObjectModel)
		{
			super(model);
		}
		
		override public function get className():String{
			return 'Store';
		}
		
		public static function createStore():Store{
			var config:GameObjectConfig = new GameObjectConfig;
			config.location = Global.originVector;
			config.size = new Vector3D(SIZE, SIZE, SIZE);
			
			return new Store(new GameObjectModel(config));
		}		
	}
}